<include file="__THEME__/header" />

<link rel="stylesheet" href="../Public/bug.css" type="text/css" media="screen" charset="utf-8" />
<link href="__PUBLIC__/js/pagination/pagination.css" rel="stylesheet" type="text/css" />
<div class="content"><!-- 内容 begin  -->
  <include file="__THEME__/apps" />
  <div class="main"><!-- 画布 begin  -->

    <div class=page_title> <!-- page_title begin -->
                        <h2><img src="{$APPINFO['APP_ICON']}" />{$APPINFO['APP_CNNAME']}</h2>
    <div class="c"></div>
</div><!-- page_title end -->
    <div class="tab-menu"><!-- 切换标签 begin  -->
  	<div class="right mt5">
  		<form method="get" action="__APP__/Index/search">
  		<input type="text" class="TextH20" id="title" onFocus="this.className='Text2'" onBlur="this.className='TextH20'" size="25" name="keywords" value="{$keywords}"/>
		<input type="submit" value="搜索Bug"  class="btn_b"/>
		</form>
	</div>    
      <ul>
        <li><a href="__APP__/Index"><span>全部Bug</span></a></li>
        <li><a href="__APP__/Index/my" ><span>我发布的Bug</span></a></li>
        <li><a href="__APP__/Bug/add" ><span><div class="ico_add">&nbsp;</div>发布新Bug</span></a></li>
        <li><a href="#"  class="on" ><span>搜索结果</span></a></li>
        <php>if($isbugadmin){</php><li><a href="__APP__/Index/manage"><span>内部管理</span></a></li><php>}</php>
      </ul>
      
    </div><!-- 切换标签 end  -->
    <div class="BlogBox">
      <div class="MenuSub">
		<li>共搜索到 {$count} 条结果</li>
      </div>
      <div>
        <div class="sidebar">
        </div>
			<div class="boxL" style="width:100%;"><!-- 好友日志 begin  -->
			  		<div class="box1">
<php>if($data){</php>			  		
			  		<ul class="newtopic">
			       	  <li>
			       	    <div class="c2" style="width:50px;text-align:center;">编号</div>
			   	    	<div class="c1" style="width:320px">标题</div>
			            <div class="c3" style="width:80px;">版本号</div>
			            <div class="c3" style="width:80px;">类型</div>
			            <div class="c3" style="width:80px;">作者</div>
			            <div class="c4" style="width:80px;">状态</div>
			            <div class="c5">发布时间</div>
                        <div class="c"></div>
			       	  </li>
<volist id="vo" name="data">
			          <li>
			            <div class="c2" style="width:50px;text-align:center;">{$vo.id}</div>			          
			   	    	<div class="c1" style="width:320px">			   	    	
			   	    		<a href="__APP__/Bug/view/id/{$vo['id']}" target="_blank">{:red($vo['title'],$keywords)}</a>
			   	    	</div>
			   	    	 <div class="c3" style="width:80px;"><a href="#">{$vo.edition|getEditionName}</a>&nbsp;</div>
			   	    	 <div class="c3" style="width:80px;"><a href="#">{$vo.catid|getCategoryName}</a>&nbsp;</div>
			            <div class="c3" style="width:80px;"><a href="__TS__/space/{$vo.udi}"><img src="{$vo.uid|getUserFace}" class="alM" width="20px" height="20px"/></a> <a href="__TS__/space/{$vo.uid}">{$vo.uname}</a></div>
			            <div class="c4" style="width:80px;color:{$vo.state|getStateColor};">
			            {$vo.state|getStateInfo}</div>
			            <div class="c5">{$vo.cTime|friendlyDate}</div>
						<div class="c"></div>
			       	  </li>
</volist>
			         
			        </ul>
<php>}else{</php>
			  		<ul class="newtopic" style="text-align:center">
			       	  <li>暂无任何信息</li>
			        </ul>
<php>}</php>
			    </div>
			       <div class="page">{$html}</div>
			  </div><!-- 好友日志 end  -->
      </div>
    </div>

  </div><!-- 画布 end  -->
  <div class="c"></div>
</div><!-- 内容 end -->
<include file="__THEME__/footer" />
